project(mini_dump)

add_compile_options(-g)
add_executable(${PROJECT_NAME}
    main.cpp
)

target_link_libraries(${PROJECT_NAME}
    ${BUILD_LINK_LIBRARIES}
    breakpad_client
    pthread
)

# 安装目标文件
install(TARGETS ${PROJECT_NAME}
    ARCHIVE DESTINATION ${INSTALL_LIB_PATH}
    LIBRARY DESTINATION ${INSTALL_LIB_PATH}
    RUNTIME DESTINATION ${INSTALL_BIN_PATH}
)
